package com.ctgu.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * @Title Cake.java
 * @Package com.ctgu.demo.entity
 * @Discription 蛋糕类
 * @author michaeljia
 * @version V1.0
 * */

@Data
public class Cake {

    @TableId(value = "cake_id", type = IdType.AUTO)
    private Integer cakeId;

    private String cakeName;

    private String cakeMaker;

    private String cakePic;

    private String cakeDisc;

    private Date cakeMakeDate;

    private boolean cakeStatus;

    private float cakePrice;

    private int numberOfReview;

    private int numberOfView;

    private int grade;
}
